package com.java.day05;

public class Demo01 {
    public static void main(String[] args) {
        Cat cat = new Cat("银色","臭臭",2,"公",100,20,"银渐层");
//        Cat cat2 = new Cat("happy");
//        System.out.println("在构造方法中调用构造方法:"+cat2.age);

        System.out.println(cat.toString());

        cat.eat();

        cat.eat();

        cat.sleep();

        cat.sleep();

        cat.catchFish();

        cat.catchFish();

        int[] arr = {32,46,6,12,86,23,113,49,478,1};
        cat.bubbleSort(arr);

        cat.back();

        Cat.kg();

        System.out.println(cat.toString());

    }
}
